﻿using CommonHelper;
using System.Reflection;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace Test
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            SystemSleepHelper.PreventForCurrentThread();
            ResourcesHelper.CopyResourceToRootPath(Assembly.GetExecutingAssembly(), "Test.qqq.中低频脉冲电磁治疗仪项目小批计划.xlsx");
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            List<int> ints = new List<int>();
            for (int i = 0; i < 100; i++) 
            {
                ints.Add(i);
            }
          var l=  RandomSortHelper.RandomSort(ints,5);
        }
    }
}